package com.dragon.modules.yuegou.entity.member;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 商品权益关联表实体类<br>
 * 对应的表为：mem_pro_rights<br>
 * 
 * @author pbuilder generated
 * @date 2021-12-15 16:54:14
 * @company sgy
 * @version 2.0
 */
@TableName("mem_pro_rights")
@ApiModel(description = "商品权益关联表")
public class ProRightsEntity {

    /** ID */
	@ApiModelProperty("ID")
	protected String id;

    /** 权益ID */
	@ApiModelProperty("权益ID")
	protected String rightsId;

    /** 权益名称 */
	@ApiModelProperty("权益名称")
	protected String rightsName;

    /** 商品ID */
	@ApiModelProperty("商品ID")
	protected String goodsId;

    /** 商品名称 */
	@ApiModelProperty("商品名称")
	protected String goodsName;

	/**
	 * 构造一个空商品权益关联表实体对象
	 */
	public ProRightsEntity(){
		super();
	}

	/**
	 * 依据其它对象的信息构造一个商品权益关联表实体对象
	 * 
	 * @param other 其它对象
	 */
	public ProRightsEntity(ProRightsEntity other){
		super();
     	this.id = other.id;
     	this.rightsId = other.rightsId;
     	this.rightsName = other.rightsName;
     	this.goodsId = other.goodsId;
     	this.goodsName = other.goodsName;
	}


	/**
	 * 获取ID
	 * 
	 * @return id ID
	 */
	public String getId() {
		return id;
	}
  	
	/**
	 * 设置ID
	 * 
	 * @param id ID
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * 获取权益ID
	 * 
	 * @return rightsId 权益ID
	 */
	public String getRightsId() {
		return rightsId;
	}
  	
	/**
	 * 设置权益ID
	 * 
	 * @param rightsId 权益ID
	 */
	public void setRightsId(String rightsId) {
		this.rightsId = rightsId;
	}

	/**
	 * 获取权益名称
	 * 
	 * @return rightsName 权益名称
	 */
	public String getRightsName() {
		return rightsName;
	}
  	
	/**
	 * 设置权益名称
	 * 
	 * @param rightsName 权益名称
	 */
	public void setRightsName(String rightsName) {
		this.rightsName = rightsName;
	}

	/**
	 * 获取商品ID
	 * 
	 * @return goodsId 商品ID
	 */
	public String getGoodsId() {
		return goodsId;
	}
  	
	/**
	 * 设置商品ID
	 * 
	 * @param goodsId 商品ID
	 */
	public void setGoodsId(String goodsId) {
		this.goodsId = goodsId;
	}

	/**
	 * 获取商品名称
	 * 
	 * @return goodsName 商品名称
	 */
	public String getGoodsName() {
		return goodsName;
	}
  	
	/**
	 * 设置商品名称
	 * 
	 * @param goodsName 商品名称
	 */
	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

    public String toString() {
		return new StringBuilder().append("ProRightsEntity{").
			append("id=").append(id).
			append(",rightsId=").append(rightsId).
			append(",rightsName=").append(rightsName).
			append(",goodsId=").append(goodsId).
			append(",goodsName=").append(goodsName).
			append('}').toString();
    }

	/**
	 * 复制对象
	 * 
	 * @return 复制后的新实体对象
	 */
	public ProRightsEntity copy() {
		return new ProRightsEntity(this);
	}

    /** ID */
	public static final String COL_ID = "id";

    /** 权益ID */
	public static final String COL_RIGHTS_ID = "rights_id";

    /** 权益名称 */
	public static final String COL_RIGHTS_NAME = "rights_name";

    /** 商品ID */
	public static final String COL_GOODS_ID = "goods_id";

    /** 商品名称 */
	public static final String COL_GOODS_NAME = "goods_name";
}
